package com.thread.callback;

public class Test implements CallBack{
	public static void main(String[] args) {
		MyThread thread=new MyThread(new Test());
		Thread t1=new Thread(thread);
		t1.start();
		Thread t2=new Thread(thread);
		t2.start();
	}

	@Override
	public void sayEnd(int seq) {
		System.out.println("this thread is end the return seq is:"+seq);
		
	}
}
